package com.dingding.service.user.facade.taxi;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.common.core.base.dto.FacadeResult;
import com.dingding.facade.user.dto.taxi.ReqTaxiUserAuthDTO;
import com.dingding.facade.user.dto.taxi.ReqTaxiUserReAuthDTO;
import com.dingding.facade.user.dto.taxi.RespTaxiUserAuthDTO;
import com.dingding.facade.user.dto.taxi.RespTaxiUserReAuthDTO;
import com.dingding.facade.user.service.taxi.ITaxiUserFacade;
import com.dingding.service.user.core.taxi.service.ITaxiUserService;

/**
 * 
* @ClassName: TaxiUserFacadeImpl
* @Description: 出租车相关
* @author haoxiaojun
* @date 2016年11月22日 下午4:26:31
 */
@Component("taxiUserFacade")
public class TaxiUserFacadeImpl implements ITaxiUserFacade {
	
	@Resource(name = "taxiUserService")
	private ITaxiUserService taxiUserService;
	
	/**
	 * @Title: TaxiUserController.java
	 * @Description: 出租车主认证
	 * @author haoxiaojun
	 * @date 2016年11月21日 下午1:40:45
	 * @version V2.5.6
	 */
	public FacadeResult<RespTaxiUserAuthDTO> taxiUserAuth(ReqTaxiUserAuthDTO taxiUser) {
		return taxiUserService.taxiUserAuth(taxiUser);
	}
	
	/**
	 * @Title: TaxiUserController.java
	 * @Package com.dingding.special.controller
	 * @Description: 出租车主重新认证
	 * @author haoxiaojun
	 * @date 2016年11月21日 下午1:43:03
	 * @version V2.5.6
	 */
	public FacadeResult<RespTaxiUserReAuthDTO> reTaxiUserAuth(ReqTaxiUserReAuthDTO taxiUserReAuth) {
		return taxiUserService.reTaxiUserAuth(taxiUserReAuth);
	}

}
